package utils.global.fliters;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;

@Data
@ConfigurationProperties(prefix = "utils.xss")
@Validated
public class XssProperties implements Serializable {
    private boolean enabled;
    @ArrayIsEven(message = "匹配需成对，匹配个数必须为偶数")
    private String[] ignore;
}
